﻿using System;

namespace WAD.Model
{
    public class MFCCash
    {
        public int id { get; set; }
        /// <summary>
        /// 提现的用户
        /// </summary>
        public int user_id { get; set; }
        /// <summary>
        /// 每笔体现的金额
        /// </summary>
        public decimal amount { get; set; }
        /// <summary>
        /// 提现平台(1支付宝, 2微信)
        /// </summary>
        public int platform { get; set; }

        /// <summary>
        /// openid(微信提现的账号标示)
        /// </summary>
        public string openid { get; set; }

        /// <summary>
        /// 支付宝收款账号或微信收款人的昵称
        /// </summary>
        public string nickname { get; set; }

        /// <summary>
        /// 提现的回调返回值
        /// </summary>
        public string callback_msg { get; set; }

        /// <summary>
        /// 提现的审核时间
        /// </summary>
        public DateTime? check_date { get; set; }
        /// <summary>
        /// 审核人
        /// </summary>
        public int check_adminid { get; set; }

        /// <summary>
        /// 订单号,根据订单号可以查询是否重复提现
        /// </summary>
        public string orderid { get; set; }

        /// <summary>
        /// 状态(0 未审核,1 已审核,只有是已审核状态，才表示提现成功)
        /// </summary>
        public int state { get; set; }

        /// <summary>
        /// 广告主交易记录表ID,(广告主提现时用到,跟fc_record表关联)
        /// </summary>
        public int record_id { get; set; }

        public DateTime date { get; set; }
        /// <summary>
        /// 发起支付的APPID
        /// </summary>
        public string wx_appid { get; set; } = "";
        /// <summary>
        /// 目标商户ID
        /// </summary>
        public string wx_mchid { get; set; } = "";
    }
}